@extends('layouts.admin')
@section('content')
		{{--@foreach($errors->all() as $error)--}}
			{{--{{$error}}--}}
		{{--@endforeach--}}

		<div class="alert alert-success">修改密码</div>
		<form action="" method="post">
		{{csrf_field()}}
			@if(count($errors)>0)
				@if(is_object($errors))
					{{$errors->all()[0]}}
				@else
					{{$errors}}
				@endif
				{{--@foreach($errors->all() as $error)--}}
				{{--{{ $error}}--}}
				{{--@endforeach--}}
			@endif
		<div class="form-group">
			<label for="exampleInputEmail1">原密码</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入原密码"  name="password">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">新密码</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入新密码"  name="newpassword">
		</div>
		<div class="form-group">
			<label for="exampleInputEmail1">确认密码密码</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请再次输入新密码"  name="newpassword_confirmation">
		</div	>
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
		</form>
@endsection
